#include <string>
#include <list>

class PhoneNum
{
};

    // PhoneBook(const std::string& name, const std::string& address,
    //  const unsigned short& age, const std::list<PhoneNum> phoneNums)
    // {
    //     name_ = name;            // 他们都是赋值 并不是初始化
    //     address_ = address;
    //     age_ = age;
    //     phoneNums_ = phoneNums;
    // }


class PhoneBook
{
public:

    PhoneBook(const std::string& name, const std::string& address,
     const unsigned short& age, const std::list<PhoneNum> phoneNums)
     :name_(name), address_(address), age_(age), phoneNums_(phoneNums)
    {
        // 这里构造函数就不需要做任何事情了
    }


private:
    std::string name_;
    std::string address_;
    unsigned short age_;
    std::list<PhoneNum> phoneNums_;
};

// class test
// {
// public:
//     test()
//     {
//         int x, y;
//     }
// };

// int main()
// {
//     test t;
//     return 0;
// }